﻿using System.Windows;

namespace Laks
{
    /// <summary>
    /// Interaction logic for Login.xaml
    /// </summary>
    public partial class Login : Window
    {
        public Login()
        {
            InitializeComponent();
            txtName.Focus();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            string name = txtName.Text;
            var mainWindow = new MainWindow(name);
            mainWindow.Show();
            this.Close();
        }
    }
}
